package tf.mcs.imp.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * json类型的通讯渠道定义
 * </p>
 *
 * @author Zhiwei Wang
 * @since 2022-11-08
 */
@TableName("CN_ILJS_CHNL")
@ApiModel(value = "CnIljsChnl对象", description = "json类型的通讯渠道定义")
public class CnIljsChnl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("服务方代码;服务方标识")
    @ExcelProperty("服务方代码")
    private String chnlcode;

    @ApiModelProperty("服务方名称;服务方名称和用途")
    @ExcelProperty("服务方名称")
    private String chnlname;

    @ApiModelProperty("服务方IP或域名;服务方IP或者域名")
    @ExcelProperty("服务地址")
    private String targetaddr;

    @ApiModelProperty("超时时间设定;超时时间设定")
    @ExcelProperty("超时时间")
    private Integer timeout;

    @ApiModelProperty("当前版本;当前版本可以用默认值")
    @ExcelProperty("当前版本")
    private String curver;

    @ApiModelProperty("编码格式;组包报文编码")
    @ExcelProperty("编码格式")
    private String chnlenc;

    @ApiModelProperty("通讯协议")
    @ExcelProperty("通讯协议")
    private String httpprtc;


    public String getChnlcode() {
        return chnlcode;
    }

    public void setChnlcode(String chnlcode) {
        this.chnlcode = chnlcode;
    }

    public String getChnlname() {
        return chnlname;
    }

    public void setChnlname(String chnlname) {
        this.chnlname = chnlname;
    }

    public String getTargetaddr() {
        return targetaddr;
    }

    public void setTargetaddr(String targetaddr) {
        this.targetaddr = targetaddr;
    }

    public Integer getTimeout() {
        return timeout;
    }

    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }

    public String getCurver() {
        return curver;
    }

    public void setCurver(String curver) {
        this.curver = curver;
    }

    public String getChnlenc() {
        return chnlenc;
    }

    public void setChnlenc(String chnlenc) {
        this.chnlenc = chnlenc;
    }

    public String getHttpprtc() {
        return httpprtc;
    }

    public void setHttpprtc(String httpprtc) {
        this.httpprtc = httpprtc;
    }

    @Override
    public String toString() {
        return "CnIljsChnl{" +
                "chnlcode=" + chnlcode +
                ", chnlname=" + chnlname +
                ", targetaddr=" + targetaddr +
                ", timeout=" + timeout +
                ", curver=" + curver +
                ", chnlenc=" + chnlenc +
                ", httpprtc=" + httpprtc +
                "}";
    }
}
